package com.bdd.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Bdd
 * @Description
 * @Date 2020/3/24 11:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AjaxResponseResult<T> {

    private Integer code;
    private String msg;
    private T data;

    public AjaxResponseResult(Integer code, String msg){
        this(code,msg,null);
    }
}
